package com.randi.system.domain.params;

import com.randi.common.core.domain.BaseParam;
import com.randi.common.enums.MenuTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author ziye
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "SysMenuParam对象", description = "系统菜单检索参数")
public class SysMenuParam extends BaseParam {

    @ApiModelProperty(value = "父级菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "菜单类型")
    private List<MenuTypeEnum> menuTypes;

}
